<admintpl file="header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  	<div class="nav">
    <ul class="cc">
      <li class="current"><a href="{:U('menu/index')}">后台菜单</a></li>
      <li><a href="{:U('menu/add')}">添加菜单</a></li>
      <if condition="APP_DEBUG">
      	<li><a href="{:U('menu/lists')}">所有菜单</a></li>
      	<li><a href="{:U('menu/spmy_import_menu')}">恢复菜单</a></li>
      	<li><a href="{:U('menu/spmy_export_menu')}">备份菜单</a></li>
      </if>
    </ul>
   </div>
  <form class="J_ajaxForm" action="{:U('Menu/listorders')}" method="post">
    <div class="table_list">
      <table width="100%">
        <thead>
          <tr>
            <td width="80">排序</td>
            <td width="50">ID</td>
            <td>应用</td>
            <td>菜单名称</td>
            <td width="80">状态</td>
            <td width="200">管理操作</td>
          </tr>
        </thead>
        {$categorys}
      </table>
    </div>
    <div class="btn_wrap">
      <div class="btn_wrap_pd">             
        <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">排序</button>
      </div>
    </div>
  </form>
</div>
<script src="__ROOT__/statics/js/common.js{$js_debug}"></script>
<script>

setInterval(function () {
    var refersh_time = getCookie('refersh_time_admin_menu_index');
    if (refersh_time == 1) {
    	reloadPage(window);
    }
}, 1000);
setCookie('refersh_time_admin_menu_index',0);

</script>
</body>
</html>